home *** CD-ROM | disk | FTP | other *** search
/ Belgian Amiga Club - ADF Collection / BS1 part 27.zip / BS1 part 27 / Superbase4_d1.adf / sbfd.LZH / Extra Docs / pens.readme next >
Text File  |  1993-06-22  |  2KB  |  43 lines

  1. New Features of SBase4
  2. -------------------------------------------------------------------
  3. 1)    PEN ARRAYS
  4.  
  5. --    SECTION 1
  6.         PEN ARRAYS
  7.  
  8.     SBase4 now provides a way to specify a custom screen pen-array. A pen
  9. array is a way to specify what color pen to use for various screen features,
  10. such as title bar color, screen text, hilite and shade colors. The way
  11. this is accomplished is through the SBase4.ini file which resides in the
  12. 's:' directory. If no pen array is provided in the .ini file, the default
  13. pen array is used.
  14.  
  15.     The '.ini' file line looks like this:
  16.  
  17. Pens=0,1,1,2,1,3,1,0,1
  18.  
  19.     This example also happens to be the default pen array. The following table
  20. lists the function of each pen in the array.
  21.  
  22. PEN                PEN NAME                        SHORT DESCRIPTION
  23. ======================================================================
  24. PEN 1    ==    Detail pen            ==                                                                                ==
  25. PEN 2 ==    Block pen                ==                                                                                ==
  26. PEN 3    ==    Text pen                ==    Text on background                                        ==
  27. PEN 4    ==    Shine pen                ==    Bright edge on 3D objects                            ==
  28. PEN 5    ==    Shadow pen            ==    Dark edge on 3D objects                                ==
  29. PEN 6    ==    Fill pen                ==    Active window/selected-gadget fill        ==
  30. PEN 7    ==    Fill text pen        ==    Text over Fill pen                                        ==
  31. PEN 8    ==    Background pen    ==    Always color 0                                                ==
  32. PEN 9    ==    Highlight text    ==    Special color text                                        ==
  33. ======================================================================
  34.  
  35.     The SBase4 and the forms designer also recognize another .ini parameter.
  36. This parameter is called Shinepen {Not to be confused with the shine pen
  37. in the pen array}. The Shinepen is used as the hilight color for SBase4
  38. buttons. An example Shinepen line in the SBase4.ini file:
  39.  
  40. Shinepen=2
  41.  
  42.     This example also happens to be the default Shine pen.
  43.